package com.android.bookgarden.network;


import com.lzy.okgo.model.HttpHeaders;

import java.util.Map;

import okhttp3.Headers;

/**
 * 网络请求接口
 * Created by zouqh on 2018/3/26.
 */

public interface GetData {
    void sendHttp(Map<String, String> value, String url, OkgoCallback callback, HttpType httpType, int code);
    void sendHttp(String json, String url, OkgoCallback callback, HttpType httpType, int code);
    void sendHttpGet(String url,OkgoCallback callback, int code);
    void sendHttpHeader(Map<String, String> value, String url, OkgoCallback callback, HttpType httpType, int code, HttpHeaders headers);

}
